﻿using FarmSmartSleep.Common.Domain.PM;
using FarmSmartSleep.Common.Dtos;
using MediatR;

namespace FarmSmartSleep.Organ.API.Application.ProductionManagement.MotherWeaningFile
{
    /// <summary>
    /// 断奶列表
    /// </summary>
    public class MotherWeaningListCommon:IRequest<ResultPage<List<MotherWeaningListDto>>>
    {
        /// <summary>
        /// 种母耳号
        /// </summary>
        public int EweID { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? Leader { get; set; }  
        /// <summary>
        /// 转入栋舍
        /// </summary>
        public int TransferBarn { get; set; } = 0; 

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? MinDate { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? MaxDate { get; set; }

        /// <summary>
        /// 页数
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 每页条数
        /// </summary>
        public int PageSize { get; set; }
    }
}
